package com.mindtree.vi.business.javaservice;

import com.mindtree.vi.dbaccess.datatypes.user.User;

public class UserUtil {

	/*
	 * private static final ThreadLocal<XmlProblem> problem = new ThreadLocal<XmlProblem>();
	 * 
	 * public static XmlProblem getProblem() { return problem.get(); }
	 * 
	 * public static void setProblem(XmlProblem prb) { problem.set(prb); }
	 */
	private static final ThreadLocal<User> user = new ThreadLocal<User>();

	public static User getUser() {
		return user.get();
	}

	public static void setUser(User currentUser) {
		user.set(currentUser);
	}
}
